
OBJS =		main.o \
			input/HomographyFileParser.o input/PTOParser.o \
			utils/Settings.o utils/Output.o utils/Homography.o utils/ImageUtils.o utils/Pixel.o


INCLUDES =  -I/usr/local/include -I/usr/include/opencv

LIB_DIRS =	-L/usr/lib 

LIBS =		-lhighgui -lcv

CXXFLAGS =	-O0 -g -Wall -fmessage-length=0 -g $(INCLUDES)

TARGET =	ElevationCalculator

$(TARGET):	$(OBJS)
	$(CXX) -o $(TARGET) $(OBJS) $(INCLUDES) $(LIB_DIRS) $(LIBS) -pg -rdynamic

all:	$(TARGET)

clean:
	rm -f $(OBJS) $(TARGET)
